package com.lcf.system.entity;

import com.lcf.framework.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

/**
 * 团购规则(SysTenantRule)表实体类
 *
 * @author lcf
 * @since 2025-05-02 11:55:03
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
public class SysTenantRule extends BaseModel<SysTenantRule> {
    //id
    private Long id;
    //团长id
    private Long userId;
    //商品id
    private Long goodsId;
    //活动名称
    private String ruleName;
    //开始时间
    private LocalDate startTime;
    //结束时间
    private LocalDate endTime;
    //状态1未开始2进行中3已结束
    private Integer status;
    //商品数量
    private Integer goodsNum;
    //当前满足规则明细id
    private Long detailId;
    //是否下单1是0否
    private Integer isOrder;
}

